import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: '个人中心',
      component: () => import('@/view/personalCenter/index')
    },
    {
      path: '/threeMetings',
      name: '三会一课',
      component: () => import('@/view/myPortrait/threeMetings')
    },
    {
      path: '/partyFeePayment',
      name: '党费缴纳',
      component: () => import('@/view/myPortrait/partyFeePayment')
    },
    {
      path: '/partyBuildingLinks',
      name: '党建联系',
      component: () => import('@/view/myPortrait/partyBuildingLinks')
    },
    {
      path: '/partyMemberToheight',
      name: '党员登高',
      component: () => import('@/view/myPortrait/partyMemberToheight')
    },
    {
      path: '/toHeightDetail/:type/:uuid',
      name: '登高详情',
      component: () => import('@/view/myPortrait/toHeightDetail')
    },
    {
      path: '/search',
      name: '党建智搜',
      component: () => import('@/view/myPortrait/search')
    },
    {
      path: '/searchMore/:index/:keyWord',
      name: '更多搜索',
      component: () => import('@/view/myPortrait/searchMore')
    },
    {
      path: '/basicOragan/:organcode',
      name: '基本组织',
      component: () => import('@/view/myPortrait/basicOragan')
    }
    
  ]
})
